package dao;

import entity.Comment;

import java.util.List;

public interface CommentDao {
    List<Comment> findCommentByProductId(int productId);

    void addComment(Comment comment);

    int findTotalCount();

    List<Comment> findByPage(int start, int rows);

    void delCommentById(int commentId);
}
